import {myRequest} from '../network/http.js'

 const baseUrl = 'customer/store'
 
 
export function getStatus (config) {  
	return myRequest({
		url:baseUrl+'/status',
		method:'get',
		data:config
	})
}

export function setStatus (config) {  
	return myRequest({
		url:baseUrl+'/'+config,
		method:'put'
	})
}

//分页查询商店
export function pageStore (config) {  
	return myRequest({
		url:baseUrl+'/page',
		method:'get',
		data:config
	})
}

//根据id查询商店信息
export function queryStoreById (config) {  
	return myRequest({
		url:baseUrl+'/'+config,
		method:'get'
	})
}